package com.bank.doman.auth.io.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 类AddRoleBo.java的实现描述：更新角色入参
 *
 * @author zach
 * @Date :2020-06-23 16:02.
 */
@Setter
@Getter
@ApiModel("更新角色入参")
public class RoleEditBo {

    @NotNull
    @ApiModelProperty(value = "角色ID",required = true)
    private Long id;

    @NotNull
    @ApiModelProperty(value = "角色名称",required = true)
    private String name;

    @NotNull
    @ApiModelProperty(value = "角色状态 0 停用 1启用",required = true)
    private Integer status;

    @ApiModelProperty(value = "角色描述")
    private String remark;
}
